﻿<div class="clear">
    <header class="header">
        <div class="left">
            <a href="#/product/50"><img src="img/back.png" class="back" /></a>
        </div>
        <div class="tit">
            <h2>结算</h2>
        </div>
        <div class="right"></div>
    </header>
    <section>
        <!--地址信息-->
        <div class="address">
            <a ng-if="!Address.address_id" ng-click="Add_Address()"><div class="add">添加收货地址</div></a>
            <a ng-if="Address.address_id" ng-href="#/addresslist">
                <div class="add_info1">
                    <span>{{Address.firstname}}</span>
                    <span>{{Address.telephone?Address.telephone.substring(0,4) + '****' + Address.telephone.substring(8,11):''}}</span>
                </div>
                <div class="add_info2">
                    <p>{{Address.country}} {{Address.zone}} {{Address.district}} {{Address.address_1}}</p>
                </div>
            </a>
        </div>

        <!--商品信息-->
        <div class="product_info">
            <ul>
                <li>
                    <div class="pr_box">
                        <div class="imgproduct">
                            <img ng-src="{{Product.image}}"/>
                        </div>
                        <div class="box_info">
                            <div class="box_name">
                                <p>{{Product.name}}</p>
                            </div>
                            <div class="box_price">
                                <span>￥{{sale | currency:""}}</span>
                                <del>￥{{Product.price | currency:""}}</del>
                            </div>
                        </div>
                    </div>
                </li>
            </ul>
        </div>

        <!--商品其他信息-->
        <div class="product_info">
            <div class="other_box">
                <dl>
                    <dt>
                        <strong>数量</strong>
                        <div class="numbox">
                            <!--<a class="sub" ng-click="SubProductNum(num,Product,CouponList)">-</a>-->
                            <div class="num" placeholder="1">{{num}}</div>
                            <!--<a class="addnum" ng-click="AddProductNum(num,Product,CouponList);">+</a>-->
                        </div>
                    </dt>
                </dl>
            </div>
            <div class="other_box">
                <dl>
                    <dt>
                        <strong>运费</strong>
                        <span>￥{{freight | currency:''}}</span>
                    </dt>
                </dl>
            </div>
        </div>
    </section>
    <footer class="footer">
        <div class="total">合计:{{total | currency:''}}元</div>
        <div class="gobuy">
            <a ng-click="PayOrder()">去付款</a>
        </div>
    </footer>
</div>

